import hyRequest from "../../index";
enum DashboardAPI{
    categoryGoodsCount='/goods/category/count',
    categoryGoodsSale='/goods/category/sale',
    categoryGoodsFavor='/goods/category/favor',
    addressGoodsSale='/goods/category/sale',
}
export function getCategoryGoodsCount(){
    return hyRequest.get({
         url:DashboardAPI.categoryGoodsCount
    })
}
export function getCategoryGoodsSale(){
    return hyRequest.get({
         url:DashboardAPI.categoryGoodsSale
    })
}
export function getCategoryGoodsFover(){
    return hyRequest.get({
         url:DashboardAPI.categoryGoodsFavor
    })
}
export function getAddressGoodsSale(){
    return hyRequest.get({
         url:DashboardAPI.addressGoodsSale
    })
}